package com.lap.web.starter.api.valueobject;

import lombok.Getter;
import lombok.ToString;

/**
 * 菜单类型枚举,枚举格式:功能模块+字典(不加Flag)
 *
 * @author Shuisheng Lao(劳水生)
 * @version 0.0.1
 */
@ToString
@Getter
public enum ApiType {
  MODULE(0, "模块"),
  CLAZZ(1, "类"),
  METHOD(2, "方法"),
  ;

  private final Integer code;
  private final String labelZh;

  ApiType(Integer code, String labelZh) {
    this.code = code;
    this.labelZh = labelZh;
  }
}
